#include <iostream>

#include "Pion.h"
#include "SDLEngine.h"
#include "SDLAnimation.h"
#include "SDLSprite.h"
#include "SDLTexte.h"

int main(int argc, char* argv[])
{
	SDLEngine::GetInstance()->Init();

	Pion* p = new Pion();

	SDLAnimation* spriteTest = new SDLAnimation("Assets/characters.jpg",12, 12, true, 0, 0, 33, 32, 0, 0);
	
	SDLAudio::GetInstance()->PlayMusic(SDLResources::GetInstance()->GetMusic("Assets/victory1.flac"), SDLAudio::LOOP_FOREVER);
	//SDLAudio::GetInstance()->PlayMusic(SDLResources::GetInstance()->GetMusic("Assets/dancingmad.flac"), SDLAudio::LOOP_FOREVER);
	//SDLAudio::GetInstance()->PlaySound(SDLResources::GetInstance()->GetSound("Assets/kefka.ogg"), SDLAudio::STEREO);
	//SDLAudio::GetInstance()->PlaySound(SDLResources::GetInstance()->GetSound("Assets/kefka.ogg"), SDLAudio::LEFT);
	//SDLAudio::GetInstance()->PlaySound(SDLResources::GetInstance()->GetSound("Assets/kefka.ogg"), SDLAudio::RIGHT);
	//SDLAudio::GetInstance()->PlaySound(SDLResources::GetInstance()->GetSound("Assets/kefka.ogg"), SDLAudio::LOOP);

	SDLEngine::GetInstance()->Start();

	return 0;
}